<?php

/**
 * Created by PhpStorm.
 * Author: ls
 * Time: 2023/8/23 11:26
 * Desc:请求验证
 */
class Request_Api_V2_System extends Request_Api_V2_Base
{
    public function __construct($request_param)
    {
        parent::__construct($request_param);
    }

    public function app()
    {
        $this->rules = [
            ['mini_type', ['not_empty']],
        ];

        return $this;
    }

    public function agreement()
    {
        $this->rules = [
            ['tag', ['not_empty']],
        ];

        return $this;
    }

    public function new_ads()
    {
        $this->rules = [
            ['prefix', ['not_empty']],
            ['client_no', ['not_empty']],
        ];

        return $this;
    }

    public function get_sys_configs()
    {
        $this->rules = [
            ['filed', ['not_empty']],
        ];

        return $this;
    }

    public function consulting()
    {
        $this->rules = [
            ['type_id', ['not_empty']],
        ];

        return $this;
    }
}